package org.millenaire_reborn.datagen;

import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.EventBusSubscriber;
import net.neoforged.neoforge.data.event.GatherDataEvent;
import org.millenaire_reborn.MillenaireReborn;

@EventBusSubscriber(bus = EventBusSubscriber.Bus.MOD, modid = MillenaireReborn.MOD_ID)
public class ModDataGenerator {

    @SubscribeEvent
    public static void onGatherData(GatherDataEvent.Client event) {
        var gen = event.getGenerator();
        var pack = gen.getPackOutput();
        event.addProvider(new ModZhLanguageProvider(pack));
        event.addProvider(new ModEnLanguageProvider(pack));
        event.addProvider(new ModItemModelProvider(pack));
    }
}
